//
//  PageModel.h
//  DragViewDemo
//
//  Created by 吳瀾洲 on 2020/8/18.
//  Copyright © 2020 kingboyrang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ButtonModel.h"

#define kLeftRightSpaceWidth 20  //左右间距
#define kMiddleSpaceWidth    20  //中间间距
#define kUpDownSpaceWidth    15  //上下间距

#define kLeftRightPaddingSpaceWidth   15  //左右内边距
#define kUpDownPaddingSpaceWidth      0  //上下内边距

#define KButtonItemTag       100  //按钮起始tag

NS_ASSUME_NONNULL_BEGIN

@interface PageModel : NSObject

@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *background;
@property (nonatomic,assign) NSInteger row;
@property (nonatomic,assign) NSInteger column;

@property (nonatomic,strong) NSArray <ButtonModel *> *buttonList;


//布局调整
- (NSArray <NSArray <ButtonModel *> *> *)showInView:(UIView *)innerView buttons:(NSArray <ButtonModel *> *)buttons isPortrait:(BOOL)portrait;

@end

NS_ASSUME_NONNULL_END
